class TaskBean {
  TaskBean({
    this.id,
    this.configId,
    this.flowId,
    this.description,
    this.isRunning,
    this.isFinish,
    this.startTime,
    this.endTime,
  });

  TaskBean.fromJson(dynamic json) {
    id = json['id'];
    configId = json['config_id'];
    flowId = json['flow_id'];
    description = json['description'];
    isRunning = json['isRunning'];
    isFinish = json['isFinish'];
    startTime = json['start_time'];
    endTime = json['end_time'];
  }
  String? id;
  String? configId;
  String? flowId;
  String? description;
  bool? isRunning;
  bool? isFinish;
  String? startTime;
  String? endTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['config_id'] = configId;
    map['flow_id'] = flowId;
    map['description'] = description;
    map['isRunning'] = isRunning;
    map['isFinish'] = isFinish;
    map['start_time'] = startTime;
    map['end_time'] = endTime;
    return map;
  }
}
